﻿using System;
using System.Windows.Forms;

namespace Moonlite.UI.Shell.Controls
{
    public class ItemOpenEventArgs
    {
        TreeNode node;
        bool cancel;
        public TreeNode Node
        {
            get { return node; }
        }

        public bool Cancel
        {
            get
            {
                return cancel;
            }
            set
            {
                cancel = value;
            }
        }

        public ItemOpenEventArgs(TreeNode node, bool cancel)
        {
            this.node = node;
            this.cancel = cancel;
        }
    }
}
